import http from "@/utils/http"


export function checkAssetList(checkId) {
  return http.get('/check/detail/checkAssetList',{params:{checkId}})
}

export function checkMaterial(checkId) {
  return http.get('/check/detail/checkMaterial/' + checkId)
}

export function listSelf(type) {
  return http.get(`/check/records/listSelf?type=${type}`)
}


export function saveCheck(data) {
  return http.put('/check/detail/saveCheck', data);
}

export function saveDetail(data) {
  return http.put('/check/detail', data);
}
